﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="DATN.Account.ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent1" runat="server">    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent2" runat="server">
<div id="contentx" class="clearingfix">
   <center>
            <br/>
            <h3>Thay đổi mật khẩu.</h3>
            <hr/>
       <div class="floatboxy"> 
        <table >
            <tr>
                <td style="width:140px;font-size:smaller; height:30px;">
                    <b>Mật khẩu hiện tại</b>
                </td>
                <td >
                    <asp:TextBox ID="tbx_OldPass" runat="server" TextMode="Password" 
                       CssClass="txtpag" Height="27px" Width="180px"></asp:TextBox>&nbsp;</td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tbx_OldPass" 
                        ErrorMessage="Bạn chưa nhập mật khẩu hiện tại" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width:140px;font-size:smaller; height:30px;">
                   <b> Mật khẩu mới</b>
                </td>
                <td >
                    <asp:TextBox ID="tbx_NewPass" runat="server" TextMode="Password" 
                        CssClass="txtpag" Height="27px" Width="180px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tbx_NewPass" ErrorMessage="Bạn chưa nhập mật khẩu mới" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width:160px;font-size:smaller; height:30px;">
                   <b> Nhập lại mật khẩu mới</b>
                </td>
                <td class="style4">
                    <asp:TextBox ID="tbx_ReNewPass" runat="server" TextMode="Password" 
                      CssClass="txtpag" Height="27px" Width="180px"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tbx_ReNewPass" 
                        ErrorMessage="Bạn chưa nhập lại mật khẩu mới " ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="tbx_NewPass" ControlToValidate="tbx_ReNewPass" 
                        ErrorMessage="Mật khẩu mới không khớp nhau" ForeColor="#CC0000"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td>
                  </td>
                <td>
                <hr/>
                    <asp:Button ID="bt_ChangePass" runat="server" 
                       CssClass="btx" onclick="bt_ChangePass_Click" Text="Thay Đổi" />
                </td>
                <td>
                    <asp:Label ID="Lb_ChangePass" runat="server" Text="" ></asp:Label>
                </td>
            </tr>
        </table>
        <br/>
        <br/>

        </div>    
                  </center>

            </div>
            
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent3" runat="server">
</asp:Content>
